<?php

namespace app\admins\model;

use think\Model;

class AdminMenu extends Model
{
    protected $pk = 'id';
    protected $name = 'admin_menu';

    // 模型字段
    protected $schema = [
        'id' => 'int',
        'pid' => 'int',
        'ishidden' => 'int',
        'ord' => 'int',
        'status' => 'int',
        'icon' => 'string',
        'title' => 'string',
        'controller' => 'string',
        'action' => 'string',
        'hits' => 'int'
    ];
}
